home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #3 / Amiga Plus CD - 2002 - No. 03.iso / AmigaPlus / Tools / Development / envCPP31 / c++ / api / explorer.config < prev    next >
Encoding:
Text File  |  2002-01-01  |  3.5 KB  |  60 lines

  1. ; Explorer configuration file
  2. ;
  3. ; I. Documentation
  4. ;
  5. ;   Comments
  6. ;   ----------------------------------------------------------------------------
  7. ;   Lines starting with a semicolon (and empty lines) are considered comments
  8. ;
  9. ;   Global options
  10. ;   ----------------------------------------------------------------------------
  11. ;   FONTNAME/K     Font name (e.g. "topaz.font")
  12. ;   FONTSIZE/N     Font size
  13. ;
  14. ;   Options for pane configuration (must be on the same line)
  15. ;   ----------------------------------------------------------------------------
  16. ;   CAPTION/K      Caption for tab
  17. ;   IMAGE/N        Image identifier
  18. ;   PATH/K         Path (defaults to the document's path if unspecified)
  19. ;   HELP/K         Selection help
  20. ;   PATTERN/K      File pattern
  21. ;   DEPTH/N        Depth of subdirectories to be scanned
  22. ;   CLICK/K        Command to be executed if user clicks on a file
  23. ;   CLICKSHIFT/K   Command to be executed if user clicks on a file with SHIFT
  24. ;   CLICKALT/K     Command to be executed if user clicks on a file with ALT
  25. ;   CLICKCTRL/K    Command to be executed if user clicks on a file with CTRL
  26. ;   CLICKCAPTION/K Command to be executed if user clicks on tab
  27. ;   TOOLTIPS/S     Load special information and show as tooltips
  28. ;   SPECIALINFO/S  Show special information and show in file list
  29. ;
  30. ;   Placeholders in command strings
  31. ;
  32. ;   The first %s in command strings (CLICK/K,CLICKALT/K etc.) is replaced with
  33. ;   the full path of the file the user has selected. The second %s is replaced
  34. ;   with the file name of the selected file relative to the root directory. The
  35. ;   third %s is replaced with special information read from the file. You can
  36. ;   use %.0s anywhere in the command string to "skip" a %s (this is a formatting
  37. ;   template inserting a string of length 0, ie. nothing).
  38. ;
  39. ;   Using quotes and the asterisk character
  40. ;
  41. ;   The lines in this file are parsed by the OS function ReadArgs() when the
  42. ;   Explorer reads the configuration. ReadArgs() designates a special meaning to
  43. ;   the '*' character: while quotes normally are used as delimiter, a quote with
  44. ;   a preceding asterisk ('*"') is "the quote character". A 'n' with a preceding
  45. ;   asterisk ('*n') is "the linefeed character". And an asterisk with a
  46. ;   preceding asterisk ('**') is "the asterisk character". That's why you find
  47. ;   pattern strings of the form '**.xyz' in this file: the plug-in actually sees
  48. ;   this as '*.xyz'. Things get complicated for the command strings (CLICK/K,
  49. ;   CLICKALT, etc.) because these commands, when sent to GoldED, get
  50. ;   ReadArgs()-parsed again, this time by the editor. Consequently you have to
  51. ;   take two ReadArgs() passes into account for quotes and for the asterisk
  52. ;   character (tip: enable ARexx debugging in the editor configuration to see
  53. ;   incoming commands sent by the Explorer plug-in).
  54. ;
  55. ; II. Configuration follows:
  56.  
  57. CAPTION="" IMAGE=28 REPORT="%ld Sourcecode(s)" PATTERN="**.(c|cc|cpp|ccp|c++|asm|a)" DEPTH=0 CLICK="WINDOW USE=*"%s*" FORCE"                   CLICKALT="OPEN NAME *"%s*""                   CLICKSHIFT="TEXT T=*"%.0s%s*"" HELP="ALT opens in same window !"
  58. CAPTION="" IMAGE=26 REPORT="%ld Header(s)"     PATTERN="**.(h|hh|hpp|hhp|h++)"       DEPTH=0 CLICK="WINDOW USE=*"%s*" FORCE"                   CLICKALT="OPEN NAME *"%s*""                   CLICKSHIFT="TEXT T=*"%.0s%s*"" HELP="ALT opens in same window !"
  59. CAPTION="" IMAGE=17 REPORT="%ld Makefile(s)"   PATTERN="**make**"                    DEPTH=0 CLICK="WINDOW USE=*"%s*" FORCE FILETYPE=makefile" CLICKALT="OPEN NAME *"%s*" FILETYPE=makefile" CLICKSHIFT="TEXT T=*"%.0s%s*"" HELP="ALT opens in same window !"
  60.